package com.yuanxin.track.dbTables;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * <p>文件描述：用户行为日志实体类<p>
 * <p>作者：Mike<p>
 * <p>创建时间：2019/1/24<p>
 * <p>更改时间：2019/1/24<p>
 */
@Entity(nameInDb = "UserActiveLogModel")
public class UserActiveLogModel {

    private String appID;// "672e2c4e-3124-4590-ac61-cbe50a38ab5c",
    private String userID;// "75aa8104-8063-42c6-bc79-85771be21731",
    @Id
    private String id;// "75aa8104-8063-42c6-bc79-85771be21731",
    private String eventType;//"点击|进入",
    private String eventName;//"工作通",
    private String eventTime;//"2018-05-04 17:18:33",
    private String eventData;//{"duration":1000}
    private String loginId;
    private String logLot;

    @Generated(hash = 1018808641)
    public UserActiveLogModel(String appID, String userID, String id,
            String eventType, String eventName, String eventTime, String eventData,
            String loginId, String logLot) {
        this.appID = appID;
        this.userID = userID;
        this.id = id;
        this.eventType = eventType;
        this.eventName = eventName;
        this.eventTime = eventTime;
        this.eventData = eventData;
        this.loginId = loginId;
        this.logLot = logLot;
    }

    @Generated(hash = 996772184)
    public UserActiveLogModel() {
    }

    public String getAppID() {
        return appID;
    }

    public void setAppID(String appID) {
        this.appID = appID;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public String getEventName() {
        return eventName;
    }

    public void setEventName(String eventName) {
        this.eventName = eventName;
    }

    public String getEventTime() {
        return eventTime;
    }

    public void setEventTime(String eventTime) {
        this.eventTime = eventTime;
    }

    public String getEventData() {
        return eventData;
    }

    public void setEventData(String eventData) {
        this.eventData = eventData;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getLogLot() {
        return logLot;
    }

    public void setLogLot(String logLot) {
        this.logLot = logLot;
    }

    @Override
    public String toString() {
        return "UserActiveLogModel{" +
                "appID='" + appID + '\'' +
                ", userID='" + userID + '\'' +
                ", id='" + id + '\'' +
                ", eventType='" + eventType + '\'' +
                ", eventName='" + eventName + '\'' +
                ", eventTime='" + eventTime + '\'' +
                ", eventData='" + eventData + '\'' +
                ", loginId='" + loginId + '\'' +
                ", logLot='" + logLot + '\'' +
                '}';
    }
}
